package io.renren.modules.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


@Data
@TableName("t_user")
public class User {

    /**
     * 
     */
    @TableId(type = IdType.AUTO)
	private Integer id;
    /**
     * 
     */
	private String username;
    /**
     * 
     */
	private String password;
    /**
     * 
     */
	private String salt;
    /**
     * 
     */
	private String email;
    /**
     * 0-普通用户; 1-超级管理员; 2-版主;
     */
	private Integer type;
    /**
     * 0-未激活; 1-已激活;
     */
	private Integer status;
    /**
     * 
     */
	private String activationCode;
    /**
     * 
     */
	private String headerUrl;
    /**
     * 
     */
	private Date createTime;
}